import { BoxBufferGeometry, CylinderBufferGeometry, Mesh, MeshStandardMaterial, Object3D, SphereBufferGeometry } from "three";
import {pictureTexture} from './TTextures'
// 地面
const stage: Mesh = new Mesh(
    new BoxBufferGeometry(200, 10, 200),
    new MeshStandardMaterial({ color: 'rgb(0, 75, 75)' ,
map:pictureTexture})
)
stage.castShadow = true
stage.receiveShadow = true
stage.position.y = -5

// 立方体
const box: Mesh = new Mesh(
    new BoxBufferGeometry(20, 20, 20),
    new MeshStandardMaterial({
        color: 'red', 
        metalness: .3,
        roughness: .1
    })
)
box.castShadow = true
box.receiveShadow = true
box.position.y = 10

export const objectList: Object3D[] = []
objectList.push(stage, box)